<!DOCTYPE html>
<html lang="en" class="app">
<head>
    <meta charset="utf-8" />
    <title>无线公共支持综合网管理平台</title>
    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/animate.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/icon.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/font.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/app.css" type="text/css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/ui/kindeditor/themes/default/default.css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/ui/zTree/css/zTreeStyle/zTreeStyle.css" />
    <link rel="stylesheet" href="__ROOT__/Public/admin/css/bianfeng.css" type="text/css" />
    <!--[if lt IE 9]>
    <script src="__ROOT__/Public/admin/js/ie/html5shiv.js"></script>
    <script src="__ROOT__/Public/admin/js/ie/respond.min.js"></script>
    <script src="__ROOT__/Public/admin/js/ie/excanvas.js"></script>
    <![endif]-->
</head>
<body class="">
<section class="vbox">
    <include file="Public:header" />
    <section>
        <section class="hbox stretch">
            <aside class="bg-black aside-md hidden-print hidden-xs" id="nav">
                <include file="Public:left" />
            </aside>
            <section id="content">
                <section class="hbox stretch">
                    <section>
                        <section class="vbox">
                            <section class="scrollable padder">
                                <div class="m-b-md">
                                    <h3 class="m-b-none">修改推荐位</h3>
                                </div>
                                <section class="panel panel-default">
                                    <div class="panel-body">
                                        <form class="form-horizontal" action="{:U('Admin/Album/Upload', '', false, true)}" enctype="multipart/form-data"   method="post">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">文章ID</label>
													<input type="hidden" name="id" value="{$id}">
                                                <div class="col-sm-10">
                                                    <input type="text" name="article_id" class="form-control" placeholder="请输入文章ID,可在文章管理中查看，如果为空图片则没有文章链接" value="{$article_id}"/>
                                                </div>
                                            </div>
                                            <div class="line line-dashed b-b line-lg pull-in"></div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">上传图片(图片尺寸715x297)</label>

                                                <div class="col-sm-10">
                                                
                                                	 
													 <input type='file' name='file' value="">
													 
                                                    
                                                </div>
                                                
                                            </div>
                                            <div class="line line-dashed b-b line-lg pull-in"></div>
                                            <div class="form-group">
                                                <div class="col-sm-4 col-sm-offset-2">
                                                    <button type="button" class="btn btn-default" id="btn_back">取消</button>
                                                    <button type="submit" class="btn btn-primary">修改</button>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </section>
                            </section>
                        </section>
                    </section>
                </section>
                <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
            </section>
        </section>
    </section>
</section>
<script src="__ROOT__/Public/admin/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="__ROOT__/Public/admin/js/bootstrap.js"></script>
<!-- App -->
<script src="__ROOT__/Public/admin/js/bianfeng.js"></script>
<script src="__ROOT__/Public/admin/js/app.js"></script>

<script src="__ROOT__/Public/admin/js/chosen/chosen.jquery.min.js"></script>
<script src="__ROOT__/Public/admin/ui/zTree/js/jquery.ztree.core-3.5.js"></script>
<script src="__ROOT__/Public/admin/ui/zTree/js/jquery.ztree.excheck-3.5.js"></script>
<script>
    var setting = {
        check: {
            enable: true,
            chkboxType: {"Y": "", "N": ""}
        },
        data: {
            simpleData: {
                enable: true
            }
        }
    };

    var zNodes = [
        {id: 1, pId: 0, name: "产品库", open: true, "nocheck": true},
        {id: 11, pId: 1, name: "评级产品"},
        {id: 12, pId: 1, name: "评测产品"},
        {id: 13, pId: 1, name: "其他产品"},
        {id: 2, pId: 0, name: "外包资源", open: true, "nocheck": true},
        {id: 21, pId: 2, name: "外包公司"},
        {id: 22, pId: 2, name: "美术资源"},
        {id: 3, pId: 0, name: "新闻故事", open: true, "nocheck": true},
        {id: 31, pId: 3, name: "部门事件"},
        {id: 32, pId: 3, name: "业务新闻"},
        {id: 33, pId: 3, name: "故事八卦"},
        {id: 4, pId: 0, name: "业务需求"}
    ];

    $(document).ready(function () {
        $.fn.zTree.init($("#treeDemo"), setting, zNodes);
    });
</script>
<script src="__ROOT__/Public/admin/ui/kindeditor/kindeditor-min.js"></script>
<script src="__ROOT__/Public/admin/ui/kindeditor/lang/zh_CN.js"></script>
<script>
    var editor;
    KindEditor.ready(function (K) {
        editor = K.create('textarea[name="content"]', {
            allowFileManager: true
        });
    });
</script>
</body>
</html>